package net.zjitc.doubao_community_backed.mapper;

/**
 * @Author 董熠涛
 * @Date 2025/6/19  23:46
 */

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.zjitc.doubao_community_backed.model.entity.BmsPost;
import net.zjitc.doubao_community_backed.model.vo.PostVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface BmsTopicMapper extends BaseMapper<BmsPost> {
    /**
     * 分页查询首页话题列表
     */
    Page<PostVO> selectListAndPage(@Param("page") Page<PostVO> page, @Param("tab") String tab);
}
